import Vue from 'vue'
import VueRouter from 'vue-router'
import checklogin from "@/views/checklogin";
import goodslist from "@/views/goodslist";
import goodslistadd from "@/views/goodslistadd";


Vue.use(VueRouter)

const routes = [
  {path:'/',name:'checklogin',component: checklogin},
  {path:'/goodslist',name:'goodslist',component: goodslist},
  {path:'/goodslistadd',name:'goodslistadd',component: goodslistadd},


]

const router = new VueRouter({
  routes
})

export default router
